import { axios } from '@/utils/request'

export function queryCourseInstance (parameter) {
  return axios({
    url: '/courseInstance/query',
    method: 'post',
    data: parameter
  })
}

export function addCourseInstance (parameter) {
  return axios({
    url: '/courseInstance/add',
    method: 'post',
    data: parameter
  })
}

export function editCourseInstance (parameter) {
  return axios({
    url: '/courseInstance/update',
    method: 'post',
    data: parameter
  })
}

export function removeCourseInstance (parameter) {
  return axios({
    url: '/courseInstance/remove',
    method: 'post',
    data: parameter
  })
}
